<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:77:"/data/public/../application/admin/view/school_class_subject_schedule/add.html";i:1591860057;s:48:"/data/application/admin/view/layout/default.html";i:1588765311;s:45:"/data/application/admin/view/common/meta.html";i:1588765311;s:47:"/data/application/admin/view/common/script.html";i:1588765311;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>
    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <form id="second-form" role="form" data-toggle="validator" method="POST" action="">
    <input name="row[class_subject_id]" type="hidden" value="<?php echo $class_subject_id; ?>">
    <input name="row[class_id]" type="hidden" value="<?php echo $class_id; ?>">

    <div class="form-group row">
        <label class="control-label col-xs-12 col-sm-2"><?php echo __('元素事件'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <dl class="fieldlist" data-template="eventtpl" data-name="row[event]">
                <dd>
                    <ins>上课周：</ins>
                    <ins>上课时间：</ins>
                </dd>
                <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append hidden"><i class="fa fa-plus"></i>
                    <?php echo __('Append'); ?></a></dd>
                <!--请注意 dd和textarea间不能存在其它任何元素，实际开发中textarea应该添加个hidden进行隐藏-->
                <textarea name="row[event]" class="form-control hidden" cols="30" rows="5">[{"w_id":"星期天","time_slot":""},{"w_id":"星期一","time_slot":""},{"w_id":"星期二","time_slot":""},{"w_id":"星期三","time_slot":""},{"w_id":"星期四","time_slot":""},{"w_id":"星期五","time_slot":""},{"w_id":"星期六","time_slot":""}]</textarea>
            </dl>
            <script id="eventtpl" type="text/html">
                <dd class="form-inline">
                    <ins style="width:110px"><input style="width:110px" type="text" name="<%=name%>[<%=index%>][w_id]"
                                                    class="form-control" value="<%=row.w_id%>" readonly/></ins>
                    <ins style="width:400px"><input style="width:400px" type="text"
                                                    name="<%=name%>[<%=index%>][time_slot]" data-multiple="true"
                                                    class="form-control selectpage"
                                                    data-source="school_schedule_time/index" data-field="start_date"
                                                    value="<%=row.time_slot%>" placeholder="上课时间" size="10"/></ins>
                    <!--下面的两个按钮务必保留-->
                </dd>
            </script>
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled"><?php echo __('OK'); ?></button>
            <button type="reset" class="btn btn-default btn-embossed"><?php echo __('Reset'); ?></button>
        </div>
    </div>
</form>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
    </body>
</html>